function xi=xi_iy(see,S)
m = size(S,2);
iii=0;
for i=1:m
   for j=1:size(S(i).yhat,2)
       iii=iii+1;
        xi(iii,:) = see(i); 
   end
end